class GlobalVariable {
  // ignore: constant_identifier_names
  static const String BASE_URL = "https://live-api.itheima.net";
  // ignore: constant_identifier_names
  static const int NET_WORK_TIME = 10; // 连接超时时间 请求超时时间
  // ignore: constant_identifier_names
  static const int SUCCESS_CODE = 10000;
  // ignore: constant_identifier_names
  static const String TOKEN = 'enjoy_plus_token'; // token 令牌
  static const String REFRESH_TOEKN = "refresh_token"; // 当token失效时，用于token续期
}

// ignore: camel_case_types
class HTTP_PATH {
  static const String ANNOUNCEMENT_LIST = '/announcement';
  static const String HOME_DETAIL_LIST = '/announcement';
  static const String SEND_CODE = '/code';
  static const String LOGIN = '/login';
   static const String USER_INFO = '/userInfo';
   static const String UPLOAD = '/upload';
}
